<!DOCTYPE html>
<html>
@include('backend.global.includeHead')
<link rel="stylesheet" type="text/css" href="{{ $backendCssPath }}/jquery.validator.css"/>
<body id="login-page">
<div class="container">
    <div id="login-box">
        <header id="login-header">
            <div id="login-logo">
                <img src="{{ $imagesPath }}/logo.png" alt=""/>
            </div>
        </header>
        <div id="login-box-inner">
            <form role="form" action="login" id="ajax-login-form">
                {{ csrf_field() }}
                <div class="input-group">
                    <span class="input-group-addon"><i class="fa fa-user"></i></span>
                    <input class="form-control" type="text" name="username" placeholder="用户名" data-rule="required">
                </div>
                <div class="input-group">
                    <span class="input-group-addon"><i class="fa fa-key"></i></span>
                    <input type="password" class="form-control" name="password" placeholder="密码" data-rule="required">
                </div>
                <div id="remember-me-wrapper">
                    <div class="row">
                        <div class="col-xs-6">
                            <div class="checkbox-nice">
                                <input type="checkbox" name="longLogin" id="remember-me" checked="checked"/>
                                <label for="remember-me">记住密码</label>
                            </div>
                        </div>
                    </div>
                </div>
                <button type="button" class="btn btn-primary btn-block js-login">登录</button>
            </form>
        </div>
    </div>
</div>
<div class="background"></div>
@include('backend.global.includeJs');
<script src="{{ $backendJsPath }}/login.js"></script>
</body>
</html>